﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WinApp.Model;

namespace WinApp.ViewModel
{
    internal class MyCoursesModel
    {

    }
    public class SearchMyCourseSessionEntity
    {
        public string? CourseSessionName { get; set; }
        public int LearningStatuStr { get; set; } = 2;
        public string[]? LearningStatu { get; set; }
        public PageCondition PageCondition { get; set; }
        public int StandardCourseType { get; set; } = 1;
    }
    public class MyCourseSessionEntityOutputDto
    {
        public int UserId { get; set; }

        public int Id { get; set; }

        public int CourseSessionId { get; set; }

        public string SurfacePlot { get; set; }

        public string CourseSessionName { get; set; }

        public string CourseSessionDescription { get; set; }

        public DateTime? BeginTime { get; set; }

        public DateTime? EndTime { get; set; }

        public DateTime? CreatedTime { get; set; }


        public int LearningStatu { get; set; }

        public int Score { get; set; }

        public DateTime? LastLanuchDateTime { get; set; }

        public double MinimumLearningTime { get; set; }

        public double CumulativeLearningTime { get; set; }

        public string CompletePercent { get; set; }

        public int CourseId { get; set; }

        public bool IsCheckMinimumLearningTime { get; set; }
        public int? StandardCourseSessionId { get; set; }
        public string CurriculumName { get; set; }
        /// <summary>
        /// 包含的课程单元数量
        /// </summary>
        public int LessonCount { get; set; }
        public bool? IsOpen { get; set; }
    }
}
